#include <cstdlib>
#include <iostream>

using namespace std;

// 编译: g++ -std=c++11 -o environment.exe environment.cpp
int main(const int argc, char *argv[]) {
	char *path = getenv("PATH");
	if (path != nullptr) {
		std::cout << "PATH:  " << path << std::endl;
	}
	return 0;
}
